.ant-layout-header{
  height: 60px;
  line-height: 60px;
}
.ant-menu-item{
  background-color: @menuBgColor;
  margin: 0 !important;
  font-size: @mainFontSize !important;
}
.ant-menu-submenu-title{
  font-size: 16px !important;
}
//下拉框样式
.ant-select-selection{
  width: 100%;
  height: 34px;
  line-height: 34px;
  padding: 0 24px 0 8px;
  display: inline-block;
  font-size: @mainFontSize;
  outline: 0;
  color: (@mainFontColor);
  background-color: transparent;
  position: relative;
  // border-radius: 0;
  border:1px solid (@grayBorderColor);
  &:hover,&:active,&:focus,&:visited{
    border:1px solid (@grayBorderColor) !important;
    box-shadow: 0 0 0 !important;
  }
  .ant-select-arrow{
    color: (@mainFontColor);
    font-size: 8px;
  }
  .ant-select-selection__rendered{
    height: 100%;
    line-height: 34px;
    div{
      height: 100%;
    }
  }
}
.ant-select-dropdown-menu-item{
  font-size: @mainFontSize;
}
//文本框
.ant-input{
  height: 34px;
  display: inline-block;
  line-height: 1.5;
  padding: 4px 10px;
  font-size: @mainFontSize;
  border: 1px solid @grayBorderColor;
  color:@mainFontColor;
  position: relative;
  // border-radius: 0;
  &:hover,&:active,&:focus{
    border:1px solid (@grayBorderColor) !important;
    box-shadow: 0 0 0 !important;
  }
}
//数字框
.ant-input-number{
  height: 30px;
  width: 100%;
  // border-radius: 0;
  font-size: @mainFontSize;
  &:hover,&:active,&:focus{
    border:1px solid (@grayBorderColor) !important;
    box-shadow: 0 0 0 !important;
  }
}
.ant-calendar-picker{
  width: 100%;
}
//时间搜索框
.ant-time-picker{
  width: 100%;
  .ant-time-picker-input{
    font-size: @mainFontSize;
    height: 30px;
    width: 100%;
    border: 1px solid @grayBorderColor;
    color:@mainFontColor;
    position: relative;
    // border-radius: 0;
    &:hover,&:active,&:focus{
      border:1px solid (@grayBorderColor) !important;
      box-shadow: 0 0 0 !important;
    }
  }
}
//文本搜索框样式
.ant-input-search{
  height: 30px;
  .ant-input{
    height: 30px;
    // border-radius: 0;
    &:hover,&:active,&:focus{
      border:1px solid (@grayBorderColor) !important;
      border-right: 0 !important;
      box-shadow: 0 0 0 !important;
    }
  }
  .ant-input-search-button{
    height: 30px;
    // border-radius: 0;
    width: 32px;
    padding: 0 7px;
    border: 1px solid (@grayBorderColor);
    background-color: (@grayBgColor);
    &:hover{
      background-color:(@grayBgHoverColor) !important;
      border-color: (@grayBorderHoverColor) !important;
    }
    i{
      color: (@mainFontColor);
      font-size: @mainFontSize;

    }
  }
}
//表格
.ant-table-bordered .ant-table-header > table,
.ant-table-bordered .ant-table-body > table,
.ant-table-bordered .ant-table-fixed-left table,
.ant-table-bordered .ant-table-fixed-right table{
  border: 0 !important;
}
.ant-table-thead > tr >th{
  background-color: @grayBgColor !important;
  padding: 9px 16px;
  color: @mainFontColor !important;
  font-size: @mainFontSize !important;
  font-weight: bold;
}
.ant-table-tbody > tr > td{
  padding: 16px 16px;
  font-size: @mainFontSize !important;
  color: @mainFontColor !important;
}
.ant-table-wrapper{
  border:1px solid @grayBorderColor
}
//分页


.ant-pagination-item:focus, .ant-pagination-item-active a {
  color: #FFFFFF !important;
  background-color: @mainColor !important;
}
.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,
.ant-pagination-item:hover a {
  color: @mainColor !important;
  border-color: @mainColor !important;
}
.ant-pagination-prev:focus .ant-pagination-item-link,
.ant-pagination-next:focus .ant-pagination-item-link,
.ant-pagination-prev:hover .ant-pagination-item-link,
.ant-pagination-next:hover .ant-pagination-item-link,
.ant-pagination-disabled a,
.ant-pagination-disabled:hover a,
.ant-pagination-disabled:focus a,
.ant-pagination-disabled .ant-pagination-item-link,
.ant-pagination-disabled:hover .ant-pagination-item-link,
.ant-pagination-disabled:focus .ant-pagination-item-link{
  border-color: @grayBorderColor !important;
  color: rgba(0, 0, 0, 0.25) !important;
}

.ant-pagination-item-active:focus a,
.ant-pagination-item-active:hover a{
  color: #FFFFFF !important;
}
.ant-pagination-options .ant-select:focus .ant-select-selection,
.ant-pagination-item:hover,
.ant-select-open .ant-select-selection,
.ant-select-open:focus .ant-select-selection,
.ant-pagination-options-quick-jumper input:focus,
.ant-pagination-options-quick-jumper input:hover {
  border-color: @mainColor !important;
}

.ant-table-pagination.ant-pagination{
  padding-left:10px;
  padding-right:10px;
  // li{
  //   border-radius: 0;
  //   a{border-radius: 0;}
  // }
}
.ant-pagination-item{
  border:1px solid @grayBorderColor;
  height: 30px;
  font-size: @mainFontSize;
  // border-radius: 0;
}
.ant-pagination-prev .ant-pagination-item-link,.ant-pagination-next .ant-pagination-item-link{
  border:1px solid @grayBorderColor;
  // border-radius: 0;
}
.ant-pagination-total-text{
  font-size: @mainFontSize;
}
.ant-pagination-options-quick-jumper input{
  width: 50px;
  height: 30px;
  // border-radius: 0;
}
//主体部分
.admin-layout-content{
  background-color: @white !important;
}
//底部
.ant-layout-footer{
  background-color: @white !important;
}
//气泡确认框
.ant-popover-message-title{
  font-size: @mainFontSize !important;
  color: @mainFontColor !important;
}
.ant-popover-buttons{
  .ant-btn{
    width: 56px;
    height: 20px;
    line-height: 0;
    // border-radius: 0;
    span{
      font-size: @mainFontSize !important;
    }
  }
  .ant-btn-primary{
    background-color: @primary-color !important;
    border-color: @primary-color !important;
  }
}
//抽屉
.ant-drawer-header{
  border-top: 3px solid @primary-color;
  border-radius: 0;
  height: 54px;
  line-height:1.5;
  .ant-drawer-title{
    font-size: @subFontSize;
    font-weight: bold;
    color: @mainFontColor !important;
  }
}
.ant-drawer-body{
  padding-bottom: 80px;
}
//单选框
.ant-radio-group{
  .ant-radio-wrapper span{
    font-size: @mainFontSize !important;
  }
}
.ant-radio-inner::after{
background-color: @mainColor;
}

.ant-radio-checked::after,
.ant-radio:hover .ant-radio-inner,
.ant-radio-checked .ant-radio-inner{
  border-color: @mainColor !important;
}

.ant-radio-disabled.ant-radio-checked .ant-radio-inner{
  border-color: rgba(0, 0, 0, 0.2) !important;
}

//文本域
.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input{
  height: 115px;
}
.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input:hover{
 border-color: #d8dee5 !important;
}
//表单
.ant-form{
  .ant-form-item{
    margin-bottom: 12px;
  }
}
.ant-form label {
  font-size: @mainFontSize !important;
}
.page-header-wide{
  .breadcrumb{
    margin-bottom: 20px;
  }
}
//卡片
.ant-card{
  // border-radius: 0;
  font-size: @mainFontSize !important;
}
.ant-card-body{
  padding: 20px;
}
//描述列表
.ant-descriptions-title{
  font-size: @subFontSize;
}
.ant-descriptions-item-label {
  font-size: @mainFontSize;
}
.ant-descriptions-item-content{
  font-size: @mainFontSize;
}

//表格排序按钮
.ant-table-column-sorter-down.on,
.ant-table-column-sorter-up.on{
  color: @mainColor !important;
}

//扩展表格
.ant-table-expanded-row{
  &>td:nth-child(1){
    background-color: @white;
  }
  .ant-table-wrapper{
    border:0;

  }
  .ant-table-tbody{
    background-color: @white;
  }
}
//上传
.ant-upload-list{
  display: none !important;
}
//结果显示
.ant-result{
  padding: 0;
  width: 50px;
  .ant-result-icon{
    margin-bottom: 0 !important;
    .anticon{
      font-size: 20px !important;
    }
  }
}
//模态框
.ant-modal-header{
  .ant-modal-title{
    color: #000;
    font-size: 16px;
  }

}

//菜单
.ant-layout-sider-collapsed{
  flex: 0 0 60px !important;
  max-width: 60px !important;
  min-width: 60px !important;
  width: 60px !important;
}
.ant-menu-inline-collapsed{
  width: 60px;
  a{
    position: relative;
    left: -10px;
  }
}
.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title{
  padding: 0 22px !important;
}
.ant-upload{
  font-size: @mainFontSize;
}
.ant-select-tree-title{
  font-size: @mainFontSize;
}


//树控件
.ant-tree li{
  font-size: @mainFontSize;
}
.ant-card-actions > li{
  margin: 6px 0;
}
.ant-card-actions > li span{
  font-size: @mainFontSize;
}

.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,
.ant-tree-checkbox:hover .ant-tree-checkbox-inner,
.ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner{
  border-color: @mainColor;
}
.ant-tree-checkbox-checked .ant-tree-checkbox-inner {
  background-color:  @mainColor;
  border-color:  @mainColor;
}
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner::after{
  background-color: @mainColor;
}

//穿梭框
.ant-transfer-list{
  // border-radius: 0;
}
//单选组
.ant-radio-group{
  height: 30px;
  .ant-radio-button-wrapper{font-size: @mainFontSize;height: 100%;}
  // .ant-radio-button-wrapper:first-child{border-radius: 0;}
  // .ant-radio-button-wrapper:last-child{border-radius: 0;}

}
//多选组
.ant-checkbox-group label span{
  font-size: @mainFontSize;
}

.ant-checkbox-checked .ant-checkbox-inner {
  background-color: #CC1A1A;
  border-color: #CC1A1A;
}

.ant-checkbox-disabled .ant-checkbox-inner {
  background-color: #f5f5f5;
}

.ant-checkbox-wrapper:hover .ant-checkbox-inner,
.ant-checkbox:hover .ant-checkbox-inner,
.ant-checkbox-input:focus + .ant-checkbox-inner {
  border-color: #CC1A1A;
}

.ant-spin-dot-item{
  background-color: #CC1A1A;
}

// 进度条
.ant-progress-success-bg, .ant-progress-bg{
  background-color: #59CC9C;
}
.ant-layout-sider-children{
  height: calc(100% - 60px);
  overflow-x: hidden;
  &::-webkit-scrollbar{
    width: 3px;
    height: 1px;
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: @primary-color;
  }
  &::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
    border-radius: 3px;
    background: @primary-3;
  }
}
.dialog-wrapper .ant-modal{
  top: 0;
  padding-bottom: 0;
}
.ant-select-selection__rendered{
  margin-left: 3px;
}